<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>

	<body>
		<script>
			var arr = ["abc", "asd", "a",]
			var Delimiter = "|"; 
			var array = arr[0];
			for (var i = 1; i < arr.length; i++) {
				array += Delimiter + arr[i];
			}
			console.log(array);
			
		</script>
	</body>

</html>